console.log(location.pathname);
let rou = location.pathname.split("/")[2];
console.log(rou);

if(token==null) {
    if(rou!="login.html") {
        location.href = "login.html";
    }
}

